package com.hntnbs.websocket.servers;

import javax.websocket.Session;

public abstract class AbstractWebSocketServer {
    public abstract void onOpen(Session session) throws InterruptedException;

    public abstract void onClose(Session session) throws InterruptedException;

    public abstract void onMessage(Session session, String msg) throws InterruptedException;

    public abstract Session getSession();
}
